package com.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blog.bean.domain.ChatGpt;
import com.blog.bean.vo.ChatGptVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 任浩
 * @version 1.0
 */

@Mapper
public interface ChatGptMapper extends BaseMapper<ChatGpt> {
    void saveBatchs(@Param("chatGpts") List<ChatGpt> chatGpts);

    List<ChatGptVO> getData(@Param("category") Integer category);
}
